<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.SmsModule.bean.*,com.SmsModule.dao.*,com.UserModule.dao.*,com.order.bean.*,com.dati.bean.*,com.dati.dao.*,com.dianbo.bean.*,com.dianbo.dao.*"%>  
<%@ page import="util.*" %>
<%
		List<TbWuxiaoOrder> wuxiaoList = (ArrayList<TbWuxiaoOrder>)session.getAttribute("wuxiaoList");
		String content = "";
		int status=0;
		if(wuxiaoList!=null&&wuxiaoList.size()>0){
			content = wuxiaoList.get(0).getInvalidContent();
			status=wuxiaoList.get(0).getStatus();
		}
		System.out.println("content=="+content);
%>

<jsp:include page="../head.jsp"></jsp:include>
<body>
<div id="pager">
<jsp:include page="../top.jsp"><jsp:param name="topCurrent" value="2" /></jsp:include>    
<jsp:include page="Left.jsp">
<jsp:param name="um" value="14" /></jsp:include> 
		<section id="container">
        <div id="crumbs">
        	指令管理 &raquo; 无效指令设置
        </div>
    <div id="main">
			<div class="tabs">
				<ul class="tabs-nav clearfix">
					<li>
						无效指令设置
					</li>
				</ul>
				<div class="tabs-panel">
                <%
                
                try{
			 	 String resultSM=session.getAttribute("result").toString();
				 if(!resultSM.equals("")){
					 out.println("<script>alertmess('"+resultSM+"');</script>");
					 session.removeAttribute("result");
				 }
				 }catch(Exception ex){
				 
			 }%>
                 <form action="">
                	<table width="100%" class="datalist" border="1">
                			 	<tr>
                			 	<td class="t1" width="30%" align="right">回复信息设置： </td>
                			 	<td width="70%">
                			 	<input id="isreply" name="isreply" type="radio"  value="0" onclick="isReceve(true);" <%if(status==0){%> checked="checked" <% } %> />否
       							 <input id="isreply" name="isreply" type="radio"   value="1" onclick="isReceve(false);" <%if(status==1){%> checked="checked" <% } %> />是
                			 	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                			 	<input type="hidden" id="thischeck" name="thischeck" value="0"/>
                			 	</td>
                			 	</tr>
                                <tr id="isReceve"  <%if(status==0){%>  style="display:none;" <% } %>>
                                <td width="30%" class="t1" align="right">回复内容:</td>
                                <td width="70%">
                                 <input type="text"  size="50" id="wuxiao" name="wuxiao" value="<%=content %>">
								</td>
                              </tr>
                              <tr><td class="tc"  colspan="2"><input type="button" value="设置" onclick="setWuxiao()"/></td>
                              </td>
                              </tr>
                              <script type="text/javascript">
                              function isReceve(bl)
	                      		{
	                      		    if(bl)
	                      			{
	                      			  document.getElementById('isReceve').style.display='none';
	                      			  document.getElementById('thischeck').value="0";
	                      			}else{
	                      			  document.getElementById('isReceve').style.display='block';
	                      			  document.getElementById('thischeck').value="1";
	                      			}
	                      		}
                              </script>
                    </table>
                   </form>
                </div>  
		</div>
		</section>
		  <jsp:include page="../foot.jsp"></jsp:include>
		  </div>
		  </div>
		  
	</body>
</html>
